﻿<%@ Page Title="" Language="C#" MasterPageFile="~/UserControl_Admin/MasterPage_Admin.Master"
    AutoEventWireup="true" CodeBehind="DanhSachSanPham_Admin.aspx.cs" Inherits="TMDT_Nhom1A.Administrator.DanhSachSanPham_Admin" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="module_round_box_inner">
        <div class="module_round_box_inner2">
            <div class="s5_mod_h3_1">
                <div class="s5_mod_h3_2">
                    <h3 class="s5_mod_h3">
                        <span class="s5_h3_first">
                            <asp:Label ID="lb" runat="server" Text="Label"></asp:Label></span>
                    </h3>
                </div>
            </div>
            <asp:DataList ID="dllistproducts" runat="server" RepeatColumns="3" RepeatDirection="Horizontal">
                <ItemTemplate>
                    <div style="text-align: center; width: 225px">
                        <div class="s5_vm_name">
                            <a href='<%# "ChiTietSanPham_Admin.aspx?ElectricDeviceID=" + Eval("ElectricDevice_ID") %>'>
                                <%# Eval("ElectricDevice_ID") %></a>
                        </div>
                        <div class="s5_vm_image">
                            <a href="#" title='<%# Eval("ElectricDevice_Name") %>'>
                                <asp:Image ID="Image1" runat="server" ImageUrl='<%# Eval("ImagePath","../images/{0}.jpg") %>'
                                    ImageAlign="Middle" />
                        </div>
                        <div style="clear: both">
                        </div>
                        <div class="s5_vm_price">
                            <p>
                                Số lượng :
                                <asp:Label ID="Label2" runat="server" Text='<%# Eval("Quantity") %>'></asp:Label></p>
                            <p>
                                Giá bán lẽ:
                                <asp:Label ID="Label1" runat="server" Text='<%# Eval("RetailPrice") %>' Font-Bold="true"
                                    ForeColor="Red"></asp:Label>
                                <asp:Label ID="Label3" runat="server" Text='<%# Eval("Currency_ID") %>'> </asp:Label></p>
                            <p>
                                Giá sĩ:
                                <asp:Label ID="Label4" runat="server" Text='<%# Eval("DealerPrice") %>' Font-Bold="true"
                                    ForeColor="Red"></asp:Label>
                                <asp:Label ID="Label5" runat="server" Text='<%# Eval("Currency_ID") %>'> </asp:Label></p>
                        </div>
                        <div class="s5_vm_add_to_cart">
                            <asp:ImageButton ID="ImageButton1" CommandName="Edit" ImageUrl="~/images/page-edit-icon.png"
                                runat="server" />
                            <asp:ImageButton ID="ImageButton2" CommandName="Delete" ImageUrl="~/images/delete-icon.png"
                                runat="server" />
                        </div>
                    </div>
                </ItemTemplate>
            </asp:DataList>
        </div>
    </div>
</asp:Content>
